<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      FLTK-1.3.5
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;25.&nbsp;X Libraries
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="colord-gtk.html" title=
          "colord-gtk-0.2.0">Prev</a>
          <p>
            colord-gtk-0.2.0
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="freeglut.html" title=
          "Freeglut-3.2.1">Next</a>
          <p>
            Freeglut-3.2.1
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="lib.html" title=
          "Chapter&nbsp;25.&nbsp;X Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="fltk" name="fltk"></a>FLTK-1.3.5
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to FLTK
        </h2>
        <p>
          FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit.
          FLTK provides modern GUI functionality and supports 3D graphics via
          OpenGL and its built-in GLUT emulation libraries used for creating
          graphical user interfaces for applications.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "http://fltk.org/pub/fltk/1.3.5/fltk-1.3.5-source.tar.gz">http://fltk.org/pub/fltk/1.3.5/fltk-1.3.5-source.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: e85017defd5a03ae82e634311db87bbf
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 5.1 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 117 MB (with documentation)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.2 SBU (Using parallelism=4)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          FLTK Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="x7lib.html" title="Xorg Libraries">Xorg
          Libraries</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="hicolor-icon-theme.html" title=
          "hicolor-icon-theme-0.17">hicolor-icon-theme-0.17</a>, <a class=
          "xref" href="../general/libjpeg.html" title=
          "libjpeg-turbo-2.0.4">libjpeg-turbo-2.0.4</a>, and <a class="xref"
          href="../general/libpng.html" title=
          "libpng-1.6.37">libpng-1.6.37</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../multimedia/alsa-lib.html" title=
          "alsa-lib-1.2.1.2">alsa-lib-1.2.1.2</a>, <a class="xref" href=
          "../general/desktop-file-utils.html" title=
          "desktop-file-utils-0.24">desktop-file-utils-0.24</a>, <a class=
          "xref" href="../general/doxygen.html" title=
          "Doxygen-1.8.17">Doxygen-1.8.17</a>, <a class="xref" href=
          "glu.html" title="GLU-9.0.1">GLU-9.0.1</a>, <a class="xref" href=
          "mesa.html" title="Mesa-19.3.4">Mesa-19.3.4</a>, and <a class=
          "xref" href="../pst/texlive.html" title=
          "texlive-20190410-source">texlive-20190410</a> (or <a class="xref"
          href="../pst/tl-installer.html" title=
          "install-tl-unx">install-tl-unx</a>)
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/fltk">http://wiki.linuxfromscratch.org/blfs/wiki/fltk</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of FLTK
        </h2>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            The tar extraction directory is fltk-1.3.5 and not
            fltk-1.3.5-source as indicated by the tarball name.
          </p>
        </div>
        <p>
          Install <span class="application">FLTK</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class=
"command">sed -i -e '/cat./d' documentation/Makefile       &amp;&amp;

./configure --prefix=/usr    \
            --enable-shared  &amp;&amp;
make</kbd>
</pre>
        <p>
          If you wish to create the API documentation, issue:
        </p>
        <pre class="userinput">
<kbd class="command">make -C documentation html</kbd>
</pre>
        <p>
          The tests for the package are interactive. To execute the tests,
          run <span class="command"><strong>test/unittests</strong></span>.
          In addition, there are 70 other executable test programs in the
          <code class="filename">test</code> directory that can be run
          individually.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make docdir=/usr/share/doc/fltk-1.3.5 install</kbd>
</pre>
        <p>
          If desired, install some example games built as a part of the
          tests, extra documentation and example programs. As the
          <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class=
"command">make -C test          docdir=/usr/share/doc/fltk-1.3.5 install-linux &amp;&amp;
make -C documentation docdir=/usr/share/doc/fltk-1.3.5 install-linux</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <span class="command"><strong>sed ...
          documentation/Makefile</strong></span>: Avoid installing pages in
          <code class="filename">/usr/share/man/cat*</code>.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">blocks, checkers, fltk-config, fluid, and
              sudoku</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libfltk.{a,so}, libfltk_forms.{a,so},
              libfltk_gl.{a,so}, and libfltk_images.{a,so}</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/include/FL and
              /usr/share/doc/fltk-1.3.5</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="blocks" name="blocks"></a><span class=
                    "term"><span class=
                    "command"><strong>blocks</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a FLTK-based block elimination game.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="checkers" name="checkers"></a><span class=
                    "term"><span class=
                    "command"><strong>checkers</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a FLTK-based version of the game of checkers.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="fltk-config" name="fltk-config"></a><span class=
                    "term"><span class=
                    "command"><strong>fltk-config</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a utility script that can be used to get information
                    about the current version of FLTK that is installed on
                    the system.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="fluid" name="fluid"></a><span class=
                    "term"><span class=
                    "command"><strong>fluid</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is an interactive GUI designer for FLTK.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="sudoku" name="sudoku"></a><span class=
                    "term"><span class=
                    "command"><strong>sudoku</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is an implementation of the popular Sudoku game.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libfltk" name="libfltk"></a><span class=
                    "term"><code class="filename">libfltk.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains functions that provide an API to implement
                    graphical user interfaces.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-17 18:27:03 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="colord-gtk.html" title=
          "colord-gtk-0.2.0">Prev</a>
          <p>
            colord-gtk-0.2.0
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="freeglut.html" title=
          "Freeglut-3.2.1">Next</a>
          <p>
            Freeglut-3.2.1
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="lib.html" title=
          "Chapter&nbsp;25.&nbsp;X Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
